package com.example.demo.dto;

public class DataSourceTaskStatisticsDTO {
    // 数据源信息
    private Long dataSourceId;         // 数据源ID
    private String dataSourceName;     // 数据源名称
    
    // 任务统计信息
    private int totalTasks;            // 总任务数
    private int completedTasks;        // 已完成任务数
    private int pendingTasks;          // 待处理任务数
    private int processingTasks;       // 处理中任务数
    private int rejectedTasks;         // 已拒绝任务数
    private int skippedTasks;          // 已跳过任务数
    
    // 任务列表统计（按任务ID分组）
    private int totalUniqueTasks;      // 唯一任务数

    public Long getDataSourceId() {
        return dataSourceId;
    }

    public void setDataSourceId(Long dataSourceId) {
        this.dataSourceId = dataSourceId;
    }

    public String getDataSourceName() {
        return dataSourceName;
    }

    public void setDataSourceName(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }

    public int getTotalTasks() {
        return totalTasks;
    }

    public void setTotalTasks(int totalTasks) {
        this.totalTasks = totalTasks;
    }

    public int getCompletedTasks() {
        return completedTasks;
    }

    public void setCompletedTasks(int completedTasks) {
        this.completedTasks = completedTasks;
    }

    public int getPendingTasks() {
        return pendingTasks;
    }

    public void setPendingTasks(int pendingTasks) {
        this.pendingTasks = pendingTasks;
    }

    public int getProcessingTasks() {
        return processingTasks;
    }

    public void setProcessingTasks(int processingTasks) {
        this.processingTasks = processingTasks;
    }

    public int getRejectedTasks() {
        return rejectedTasks;
    }

    public void setRejectedTasks(int rejectedTasks) {
        this.rejectedTasks = rejectedTasks;
    }

    public int getSkippedTasks() {
        return skippedTasks;
    }

    public void setSkippedTasks(int skippedTasks) {
        this.skippedTasks = skippedTasks;
    }

    public int getTotalUniqueTasks() {
        return totalUniqueTasks;
    }

    public void setTotalUniqueTasks(int totalUniqueTasks) {
        this.totalUniqueTasks = totalUniqueTasks;
    }
}